﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Practices.Unity;
using SISGEZATBZVisual.BusinessEntities;
using SISGEZATBZVisual.Repository;

namespace SISGEZATBZVisual.Service
{
    public class GradoService:IGradoService
    {
        [Dependency]
        public IGradoRepository GradoRepository { get; set; }

        public IEnumerable<Grado> GetGradosByNivelId(int idNivel)
        {
            return GradoRepository.GetGradosByNivelId(idNivel);
        }
    }
}
